From: Wei Liu Date: Mon, 9 Apr 2018 13:49:49 +0000 (+0100) Subject: xen/arm: fix build after f20a6e309 X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~203 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=21b5d48cf471709c933055adf3fe22fa0fbc3f85;p=xen.git xen/arm: fix build after f20a6e309 Commit f20a6e309 removed a parameter from smp_prepare_cpus but only the x86 parts were submitted and committed. Signed-off-by: Wei Liu Release-acked-by: Juergen Gross Reviewed-by: Stefano Stabellini --- diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 6e49e8fd1f..1d6f6bf37e 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -804,7 +804,7 @@ void __init start_xen(unsigned long boot_phys_offset, local_irq_enable(); local_abort_enable(); - smp_prepare_cpus(cpus); + smp_prepare_cpus(); initialize_keytable(); diff --git a/xen/arch/arm/smpboot.c b/xen/arch/arm/smpboot.c index 62f795f68e..b2116f0d2d 100644 --- a/xen/arch/arm/smpboot.c +++ b/xen/arch/arm/smpboot.c @@ -283,7 +283,7 @@ smp_get_max_cpus (void) } void __init -smp_prepare_cpus (unsigned int max_cpus) +smp_prepare_cpus(void) { cpumask_copy(&cpu_present_map, &cpu_possible_map);